package com.example.demo.service;


import com.example.demo.dao.LeaveBillDao;
import com.example.demo.model.LeaveBill;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LeaveBillService {

    private LeaveBillDao leaveBillDao;

    @Autowired
    public LeaveBillService(LeaveBillDao leaveBillDao) {
        this.leaveBillDao = leaveBillDao;
    }


    public void insert(LeaveBill leaveBill){
        leaveBillDao.insert(leaveBill);
    }

}
